//
//  ServiceCategoryCollectionCell.m
//  BaseProject
//
//  Created by 王洋 on 2020/7/6.
//  Copyright © 2020 王洋. All rights reserved.
//

#import "ServiceCategoryCollectionCell.h"

@implementation ServiceCategoryCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];

//    [self.mainImageView sd_setImageWithURL:[NSURL URLWithString:@"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1596433161602&di=fc362723be828a758cfaa1775b9ed622&imgtype=0&src=http%3A%2F%2Fpic1.win4000.com%2Fwallpaper%2Fb%2F583e871f901ca.jpg"]];

}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.01 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [self pp_clipCorners:UIRectCornerAllCorners radius:6];
    });
}

@end
